package com.alibaba.excel.metadata.property;

import java.lang.reflect.Field;

import com.alibaba.excel.converters.Converter;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * Excel 内容属性
 * @author jipengfei
 */
@Getter
@Setter
@EqualsAndHashCode
public class ExcelContentProperty {
    public static final ExcelContentProperty EMPTY = new ExcelContentProperty();

    /**
     * Java 字段
     */
    private Field field;

    /**
     * 自定义转换器
     * Custom defined converters
     */
    private Converter<?> converter;

    /**
     * 日期时间格式
     */
    private DateTimeFormatProperty dateTimeFormatProperty;

    /**
     * 数字格式
     */
    private NumberFormatProperty numberFormatProperty;
    /**
     * 内容风格
     */
    private StyleProperty contentStyleProperty;
    /**
     * 内容字体
     */
    private FontProperty contentFontProperty;
}
